/**
 *
 * @author ilya portnyagin iportnyagin@gmail.com
 */

package ru.portnyagin.helpdeskru.controller.service;

import java.util.ArrayList;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import ru.portnyagin.helpdeskru.model.StateRequest;

@ManagedBean(name = "serviceOpenRequests")
@ViewScoped
public class ServiceOpenRequestsController extends ServiceController {
    
    public ServiceOpenRequestsController() {
        
        showRequestOnlyForCurrentUser = false;
        actionString = "/service/opened_requests";
        
        listStateRequest = new ArrayList<>();
        listStateRequest.add(new StateRequest("OPENED"));
        listStateRequest.add(new StateRequest("REOPENED"));
                
    }
    
   
}
